namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("WORKFLOW_DETAIL")]
    public partial class WORKFLOW_DETAIL
    {
        [Key]
        [StringLength(40)]
        public string DETAIL_ID { get; set; }

        [StringLength(40)]
        public string TEMPLATE_ID { get; set; }

        public byte? DETAIL_NO { get; set; }

        [StringLength(40)]
        public string USER_ID { get; set; }

        public byte? APPROVAL_TYPE { get; set; }

        public byte? UNTREAD_NO { get; set; }

        public virtual SYS_USERS SYS_USERS { get; set; }

        public virtual WORKFLOW_TEMPLATE WORKFLOW_TEMPLATE { get; set; }
    }
}
